package com.fcl.oschina.entity;

/**
 * Created by Administrator on 2017/2/14.
 */

public class NewItem extends BaseEntity{
    public static final int STATUS_END = 1; //活动结束
    public static final int STATUS_ING = 2; //正在报名
    public static final int STATUS_SING_UP = 3; //报名截止

    public static final int EVENT_TYPE_OSC = 1;
    public static final int EVENT_TYPE_TEC = 2;
    public static final int EVENT_TYPE_OTHER = 3;
    public static final int EVENT_TYPE_OUTSIDE = 4;
    /**
     * author : coder4j
     * body :         过年也没闲着，正好想起来自己年前曾吐槽公司dao框架用起来...
     * commentCount : 1
     * href : https://my.oschina.net/rpgmakervx/blog/838005
     * id : 838005
     * original : true
     * pubDate : 2017-02-14 00:19:28
     * recommend : true
     * title : Slardar Sql Mapper Framework for Java( Java 持久层框架一枚~)
     * type : 3
     * viewCount : 48
     */

    private String author;
    private String body;
    private int commentCount;
    private String href;
    private int id;
    private boolean original;
    private String pubDate;
    private boolean recommend;
    private String title;
    private int type;
    private int viewCount;
    private String authorPortrait;
    /**
     * img : https://static.oschina.net/uploads/cover/2686220_AsOcu_bi.png
     * startDate : 2017-02-25 14:00:00
     * status : 2
     */

    private String img;
    private String startDate;
    private int status;
    /**
     * applyCount : 0
     */

    private int applyCount;


    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public int getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(int commentCount) {
        this.commentCount = commentCount;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public boolean isOriginal() {
        return original;
    }

    public void setOriginal(boolean original) {
        this.original = original;
    }

    public String getPubDate() {
        return pubDate;
    }

    public void setPubDate(String pubDate) {
        this.pubDate = pubDate;
    }

    public boolean isRecommend() {
        return recommend;
    }

    public void setRecommend(boolean recommend) {
        this.recommend = recommend;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getViewCount() {
        return viewCount;
    }

    public void setViewCount(int viewCount) {
        this.viewCount = viewCount;
    }

    public String getAuthorPortrait() {
        return authorPortrait;
    }

    public void setAuthorPortrait(String authorPortrait) {
        this.authorPortrait = authorPortrait;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getApplyCount() {
        return applyCount;
    }

    public void setApplyCount(int applyCount) {
        this.applyCount = applyCount;
    }
}
